package com.bj58.groupbuy.action.service;

import java.util.List;

import com.bj58.groupbuy.action.model.NewBelongCate;

public interface NewBelongCateService {
	
	/**获取业务线列表
	 * @param showBus  需要展示的业务线限定  为空则是全部
	 * @return
	 * @throws Exception
	 */
	public List<NewBelongCate>  getAllBusinessType (String showBusi, boolean  isBiz) throws Exception;
	
	
	/**根据业务线获取1级列表
	 * @return
	 * @throws Exception
	 */
	public List<NewBelongCate>  getLevelOne (String businesTypeName, boolean  isBiz) throws Exception;
	
	
	/**获取所有1级类列表
	 * @return
	 * @throws Exception
	 */
	public List<NewBelongCate>  getAllLevelOne () throws Exception;
	
	
	/**1、2级类别级联
	 * @return
	 * @throws Exception
	 */
	public List<NewBelongCate>  getLevelTwo (String businesTypeName,String cateOne, boolean  isBiz) throws Exception;
	
	
	/**1、2、3级类别级联
	 * @return
	 * @throws Exception
	 */
	public List<NewBelongCate>  getLevelThree (String businesTypeName,String cateOne,String cateTwo, boolean  isBiz) throws Exception;
	
	
	/**获取全部类别数据
	 * @return
	 * @throws Exception
	 */
	public List<NewBelongCate>  getAll()throws Exception;
}
